package com.llamarun;

public abstract class PowerUp extends NonPlayerObject{
	public boolean inUse = false;
	
	public void collideWithLlama(Llama llama)
	{
		inUse = true;
		llama.setPowerUp(this);
	}
	
	public void update(int gameTime)
	{
		if(inUse) {
			//stick the current power up up top
			this.setX(30);
			this.setY(30);
		}
		else {
			super.update(gameTime);
		}
	}
	
	public void start(Llama llama)
	{
		
	}
	
	public void end(Llama llama)
	{
		
	}
	
	static public int probabilityScore()
	{
		return 5;
	}
}
